package com.triadsystems.cashweb.modelo.persistencia.entidades;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import lombok.Getter;
import lombok.Setter;

@Entity
@Table 
@SequenceGenerator(name="seq_parametrizacao", sequenceName="cw_seq_parametrizacao", initialValue = 2, allocationSize = 1)
public class Parametrizacao extends ValueObject{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@Column
	@GeneratedValue(generator = "seq_parametrizacao", strategy = GenerationType.SEQUENCE)
	@Getter @Setter
	private Long entityId;

	@Getter @Setter
	private String descricao;

	@Getter @Setter
	private Integer qtdMaxEstorno;
	
	@Getter @Setter
	private BigDecimal valorMaxEstorno = BigDecimal.ZERO;
	
	@Getter @Setter
	private BigDecimal valorMaxEstornoOperador = BigDecimal.ZERO;
	
	@Getter @Setter
	private BigDecimal valorMaxEstornoLider = BigDecimal.ZERO;
	
	@Getter @Setter
	private String ipSitef;
	
	@Getter @Setter
	private String codigoEmpresa;
	
	@Getter @Setter
	private String numeroTerminal;
	
	@Getter @Setter
	private boolean isValidacaoBoletoOnline = true;
	
	@Getter @Setter
	private boolean isValidacaoPagamentoOnline = true;
	
}
